package ui.activity.home.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.home.biz.AreaBiz;
import ui.activity.home.contract.AreaContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class AreaModule {
    private AreaContract.View view;

    public AreaModule(AreaContract.View view) {
        this.view = view;
    }

    @Provides
    public AreaContract.View provideView() {
        return view;
    }

    @Provides
    public AreaBiz provideBiz() {
        return new AreaBiz();
    }
}